﻿using System;
using System.Collections.Generic;
using System.Text;

namespace IOPerformanceVerifier
{
    public class Logger
    {
        public void log(LogLevel logLevel, String message)
        {
            Console.WriteLine("LogLevel: " + logLevel.ToString() + " Message: " + message);
        }

        public void log(LogLevel logLevel, Exception ex)
        {
            Console.WriteLine("Exception: " + ex.Message);
        }

        private static Logger _logger;

        public static Logger Instance()
        {
            if (_logger == null)
            {
                _logger = new Logger();
            }
            return _logger;
        }

    }
}
